import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CategoryMappingService } from '../novel/services/category-mapping.service';
import { MasterCategory } from '../novel/entities/master-category.entity';
import { SiteCategoryMap } from '../novel/entities/site-category-map.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([MasterCategory, SiteCategoryMap]),
  ],
  providers: [CategoryMappingService],
  exports: [CategoryMappingService],
})
export class CategoryModule {}